package ooday05.practise.enumsplus;

public enum Seasons {
    //带参数的枚举对象创建,如下
    //public static final Seasons SPRING = new Seasons("春天","舒适","踏青");
    Spring("春天","舒适","踏青"),
    Summer("夏天","热","吃雪糕"),
    Autumn("秋天","凉","散步"),
    Winter("冬天","冷","打雪仗");
    private String seasonName;
    private String seasonDesc;
    private String seasonActivity;
    private  Seasons(String seasonName,String seasonDesc,String seasonActivity){
        this.seasonName=seasonName;
        this.seasonDesc=seasonDesc;
        this.seasonActivity=seasonActivity;
    }
    public  void setSeasonName(String seasonName){
        this.seasonName=seasonName;
    }
    public String getSeasonName(){
        return  seasonName;
    }

    public void setSeasonDesc(String seasonDesc) {
        this.seasonDesc = seasonDesc;
    }

    public String getSeasonDesc() {
        return seasonDesc;
    }

    public void setSeasonActivity(String seasonActivity) {
        this.seasonActivity = seasonActivity;
    }

    public String getSeasonActivity() {
        return seasonActivity;
    }
}
